<?php
	class Ataque {
		
		private $idPlaneta;
		private $idUsuario;
		private $idBot;
		
		public function __construct() { }
		
		public function getIdPlaneta() {
			return $this->idPlaneta;
		}
		
		public function setIdPlaneta($temp) {
			$this->idPlaneta = $temp;
		}
		
		public function getIdUsuario() {
			return $this->idUsuario;
		}
		
		public function setIdUsuario($temp) {
			$this->idUsuario = $temp;
		}
		
		public function getIdBot() {
			return $this->idBot;
		}
		
		public function setIdBot($temp) {
			$this->idBot = $temp;
		}
		
		public function toJSONObject() { 
			return array(
				"idPlaneta" => $this->idPlaneta,
				"idUsuario" => $this->idUsuario,
				"idBot" => $this->idBot
			);
		}
	}
?>